package ar.com.wholeconsulting.pacc.model.cabezal;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @version 1.0 @created 06-Dic-2011 21:12:35
 */
@Entity
@Table(name = "CABEZAL_TORISFERICO")
public class CabezalTorisferico extends AbstractCabezal {

    /**
     *
     */
    private static final long serialVersionUID = 4143864202329938095L;
    private static String TO_STRING = "CABEZAL-TORISFERICO";
    private Double diametro;
    private Double pollera;
    private Double l0;
    private Double l1;
    private Double r0;
    private Double r1;
    private Double m;

    public CabezalTorisferico() {
    }

    @Override
    public long calcularEspesor() {
        return 0;
    }

    @Override
    public long getDesarrollo() {
       return 0;
    }

    @Override
    public long getPeso() {
        return 0;
    }

    @Override
    public long getVolumen() {
        return 0;
    }

    @Override
    public boolean validarEspesor(long espesorMedido) {
        return true;
    }

    @Override
    public String toString() {
        return TO_STRING;
    }

    public Double getDiametro() {
        return this.diametro;
    }

    public void setDiametro(Double diametro) {
        this.diametro = diametro;
    }

    public Double getL0() {
        return this.l0;
    }

    public void setL0(Double l0) {
        this.l0 = l0;
    }

    public Double getL1() {
        return this.l1;
    }

    public void setL1(Double l1) {
        this.l1 = l1;
    }

    public Double getM() {
        return this.m;
    }

    public void setM(Double m) {
        this.m = m;
    }

    public Double getPollera() {
        return this.pollera;
    }

    public void setPollera(Double pollera) {
        this.pollera = pollera;
    }

    public Double getR0() {
        return this.r0;
    }

    public void setR0(Double r0) {
        this.r0 = r0;
    }

    public Double getR1() {
        return this.r1;
    }

    public void setR1(Double r1) {
        this.r1 = r1;
    }

//    public void getRadiografiaInterna(Object aValue) {
//        throw new UnsupportedOperationException("Not yet implemented");
//    }
}